home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / PInterfaces / GXGraphics.p < prev    next >
Encoding:
Text File  |  1996-09-22  |  35.2 KB  |  484 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        GXGraphics.p
  3.  
  4.      Contains:    QuickDraw GX graphic routine interfaces.
  5.  
  6.      Version:    Technology:    Quickdraw GX 1.1
  7.                  Release:    Universal Interfaces 2.1.4
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT GXGraphics;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __GXGRAPHICS__}
  28. {$SETC __GXGRAPHICS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC GXGraphicsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __CONDITIONALMACROS__}
  35. {$I ConditionalMacros.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __TYPES__}
  38. {$I Types.p}
  39. {$ENDC}
  40. {$IFC UNDEFINED __FONTS__}
  41. {$I Fonts.p}
  42. {$ENDC}
  43. {$IFC UNDEFINED __GXERRORS__}
  44. {$I GXErrors.p}
  45. {$ENDC}
  46. {$IFC UNDEFINED __GXTYPES__}
  47. {$I GXTypes.p}
  48. {$ENDC}
  49.  
  50. {$PUSH}
  51. {$ALIGN MAC68K}
  52. {$LibExport+}
  53.  
  54.  
  55. FUNCTION GXNewGraphicsClient(memoryStart: UNIV Ptr; memoryLength: LONGINT; attributes: gxClientAttribute): gxGraphicsClient; C;
  56. FUNCTION GXGetGraphicsClient: gxGraphicsClient; C;
  57. PROCEDURE GXSetGraphicsClient(client: gxGraphicsClient); C;
  58. PROCEDURE GXDisposeGraphicsClient(client: gxGraphicsClient); C;
  59. { returns the count  }
  60. FUNCTION GXGetGraphicsClients(index: LONGINT; count: LONGINT; VAR clients: gxGraphicsClient): LONGINT; C;
  61. PROCEDURE GXEnterGraphics; C;
  62. PROCEDURE GXExitGraphics; C;
  63. FUNCTION GXGetGraphicsError(VAR stickyError: gxGraphicsError): gxGraphicsError; C;
  64. FUNCTION GXGetGraphicsNotice(VAR stickyNotice: gxGraphicsNotice): gxGraphicsNotice; C;
  65. FUNCTION GXGetGraphicsWarning(VAR stickyWarning: gxGraphicsWarning): gxGraphicsWarning; C;
  66. PROCEDURE GXPostGraphicsError(error: gxGraphicsError); C;
  67. PROCEDURE GXPostGraphicsWarning(warning: gxGraphicsWarning); C;
  68. FUNCTION GXGetUserGraphicsError(VAR reference: LONGINT): gxUserErrorFunction; C;
  69. FUNCTION GXGetUserGraphicsNotice(VAR reference: LONGINT): gxUserNoticeFunction; C;
  70. FUNCTION GXGetUserGraphicsWarning(VAR reference: LONGINT): gxUserWarningFunction; C;
  71. PROCEDURE GXSetUserGraphicsError(userFunction: gxUserErrorFunction; reference: LONGINT); C;
  72. PROCEDURE GXSetUserGraphicsNotice(userFunction: gxUserNoticeFunction; reference: LONGINT); C;
  73. PROCEDURE GXSetUserGraphicsWarning(userFunction: gxUserWarningFunction; reference: LONGINT); C;
  74. PROCEDURE GXIgnoreGraphicsWarning(warning: gxGraphicsWarning); C;
  75. PROCEDURE GXPopGraphicsWarning; C;
  76. FUNCTION GXNewShapeVector(aType: gxShapeType; {CONST}VAR vector: Fixed): gxShape; C;
  77. PROCEDURE GXSetShapeVector(target: gxShape; {CONST}VAR vector: Fixed); C;
  78. FUNCTION GXNewBitmap({CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint): gxShape; C;
  79. FUNCTION GXNewCurve({CONST}VAR data: gxCurve): gxShape; C;
  80. FUNCTION GXNewGlyphs(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advance: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR glyphStyles: gxStyle): gxShape; C;
  81. FUNCTION GXNewLine({CONST}VAR data: gxLine): gxShape; C;
  82. FUNCTION GXNewPaths({CONST}VAR data: gxPaths): gxShape; C;
  83. FUNCTION GXNewPicture(count: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform): gxShape; C;
  84. FUNCTION GXNewPoint({CONST}VAR data: gxPoint): gxShape; C;
  85. FUNCTION GXNewPolygons({CONST}VAR data: gxPolygons): gxShape; C;
  86. FUNCTION GXNewRectangle({CONST}VAR data: gxRectangle): gxShape; C;
  87. FUNCTION GXNewText(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR position: gxPoint): gxShape; C;
  88. FUNCTION GXGetBitmap(source: gxShape; VAR data: gxBitmap; VAR position: gxPoint): gxBitmapPtr; C;
  89. FUNCTION GXGetCurve(source: gxShape; VAR data: gxCurve): gxCurvePtr; C;
  90. {  returns byte length of glyphs  }
  91. FUNCTION GXGetGlyphs(source: gxShape; VAR charCount: LONGINT; VAR text: UInt8; VAR positions: gxPoint; VAR advance: LONGINT; VAR tangents: gxPoint; VAR runCount: LONGINT; VAR styleRuns: INTEGER; VAR glyphStyles: gxStyle): LONGINT; C;
  92. FUNCTION GXGetLine(source: gxShape; VAR data: gxLine): gxLinePtr; C;
  93. {  returns byte length  }
  94. FUNCTION GXGetPaths(source: gxShape; VAR data: gxPaths): LONGINT; C;
  95. {  returns count  }
  96. FUNCTION GXGetPicture(source: gxShape; VAR shapes: gxShape; VAR styles: gxStyle; VAR inks: gxInk; VAR transforms: gxTransform): LONGINT; C;
  97. FUNCTION GXGetPoint(source: gxShape; VAR data: gxPoint): gxPointPtr; C;
  98. {  returns byte length  }
  99. FUNCTION GXGetPolygons(source: gxShape; VAR data: gxPolygons): LONGINT; C;
  100. FUNCTION GXGetRectangle(source: gxShape; VAR data: gxRectangle): gxRectanglePtr; C;
  101. {  returns byte length  }
  102. FUNCTION GXGetText(source: gxShape; VAR charCount: LONGINT; VAR text: UInt8; VAR position: gxPoint): LONGINT; C;
  103. PROCEDURE GXSetBitmap(target: gxShape; {CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint); C;
  104. PROCEDURE GXSetCurve(target: gxShape; {CONST}VAR data: gxCurve); C;
  105. PROCEDURE GXSetGlyphs(target: gxShape; charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advance: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR glyphStyles: gxStyle); C;
  106. PROCEDURE GXSetLine(target: gxShape; {CONST}VAR data: gxLine); C;
  107. PROCEDURE GXSetPaths(target: gxShape; {CONST}VAR data: gxPaths); C;
  108. PROCEDURE GXSetPicture(target: gxShape; count: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform); C;
  109. PROCEDURE GXSetPoint(target: gxShape; {CONST}VAR data: gxPoint); C;
  110. PROCEDURE GXSetPolygons(target: gxShape; {CONST}VAR data: gxPolygons); C;
  111. PROCEDURE GXSetRectangle(target: gxShape; {CONST}VAR data: gxRectangle); C;
  112. PROCEDURE GXSetText(target: gxShape; charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR position: gxPoint); C;
  113. PROCEDURE GXDrawBitmap({CONST}VAR data: gxBitmap; {CONST}VAR position: gxPoint); C;
  114. PROCEDURE GXDrawCurve({CONST}VAR data: gxCurve); C;
  115. PROCEDURE GXDrawGlyphs(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advance: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR glyphStyles: gxStyle); C;
  116. PROCEDURE GXDrawLine({CONST}VAR data: gxLine); C;
  117. PROCEDURE GXDrawPaths({CONST}VAR data: gxPaths; fill: gxShapeFill); C;
  118. PROCEDURE GXDrawPicture(count: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform); C;
  119. PROCEDURE GXDrawPoint({CONST}VAR data: gxPoint); C;
  120. PROCEDURE GXDrawPolygons({CONST}VAR data: gxPolygons; fill: gxShapeFill); C;
  121. PROCEDURE GXDrawRectangle({CONST}VAR data: gxRectangle; fill: gxShapeFill); C;
  122. PROCEDURE GXDrawText(charCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR position: gxPoint); C;
  123. FUNCTION GXNewColorProfile(size: LONGINT; colorProfileData: UNIV Ptr): gxColorProfile; C;
  124. FUNCTION GXNewColorSet(space: gxColorSpace; count: LONGINT; {CONST}VAR colors: gxSetColor): gxColorSet; C;
  125. FUNCTION GXNewInk: gxInk; C;
  126. FUNCTION GXNewShape(aType: gxShapeType): gxShape; C;
  127. FUNCTION GXNewStyle: gxStyle; C;
  128. FUNCTION GXNewTag(tagType: LONGINT; length: LONGINT; data: UNIV Ptr): gxTag; C;
  129. FUNCTION GXNewTransform: gxTransform; C;
  130. FUNCTION GXNewViewDevice(group: gxViewGroup; bitmapShape: gxShape): gxViewDevice; C;
  131. FUNCTION GXNewViewGroup: gxViewGroup; C;
  132. FUNCTION GXNewViewPort(group: gxViewGroup): gxViewPort; C;
  133. PROCEDURE GXDisposeColorProfile(target: gxColorProfile); C;
  134. PROCEDURE GXDisposeColorSet(target: gxColorSet); C;
  135. PROCEDURE GXDisposeInk(target: gxInk); C;
  136. PROCEDURE GXDisposeShape(target: gxShape); C;
  137. PROCEDURE GXDisposeStyle(target: gxStyle); C;
  138. PROCEDURE GXDisposeTag(target: gxTag); C;
  139. PROCEDURE GXDisposeTransform(target: gxTransform); C;
  140. PROCEDURE GXDisposeViewDevice(target: gxViewDevice); C;
  141. PROCEDURE GXDisposeViewGroup(target: gxViewGroup); C;
  142. PROCEDURE GXDisposeViewPort(target: gxViewPort); C;
  143. FUNCTION GXCloneColorProfile(source: gxColorProfile): gxColorProfile; C;
  144. FUNCTION GXCloneColorSet(source: gxColorSet): gxColorSet; C;
  145. FUNCTION GXCloneInk(source: gxInk): gxInk; C;
  146. FUNCTION GXCloneShape(source: gxShape): gxShape; C;
  147. FUNCTION GXCloneStyle(source: gxStyle): gxStyle; C;
  148. FUNCTION GXCloneTag(source: gxTag): gxTag; C;
  149. FUNCTION GXCloneTransform(source: gxTransform): gxTransform; C;
  150. FUNCTION GXCopyToColorProfile(target: gxColorProfile; source: gxColorProfile): gxColorProfile; C;
  151. FUNCTION GXCopyToColorSet(target: gxColorSet; source: gxColorSet): gxColorSet; C;
  152. FUNCTION GXCopyToInk(target: gxInk; source: gxInk): gxInk; C;
  153. FUNCTION GXCopyToShape(target: gxShape; source: gxShape): gxShape; C;
  154. FUNCTION GXCopyToStyle(target: gxStyle; source: gxStyle): gxStyle; C;
  155. FUNCTION GXCopyToTag(target: gxTag; source: gxTag): gxTag; C;
  156. FUNCTION GXCopyToTransform(target: gxTransform; source: gxTransform): gxTransform; C;
  157. FUNCTION GXCopyToViewDevice(target: gxViewDevice; source: gxViewDevice): gxViewDevice; C;
  158. FUNCTION GXCopyToViewPort(target: gxViewPort; source: gxViewPort): gxViewPort; C;
  159. FUNCTION GXEqualColorProfile(one: gxColorProfile; two: gxColorProfile): BOOLEAN; C;
  160. FUNCTION GXEqualColorSet(one: gxColorSet; two: gxColorSet): BOOLEAN; C;
  161. FUNCTION GXEqualInk(one: gxInk; two: gxInk): BOOLEAN; C;
  162. FUNCTION GXEqualShape(one: gxShape; two: gxShape): BOOLEAN; C;
  163. FUNCTION GXEqualStyle(one: gxStyle; two: gxStyle): BOOLEAN; C;
  164. FUNCTION GXEqualTag(one: gxTag; two: gxTag): BOOLEAN; C;
  165. FUNCTION GXEqualTransform(one: gxTransform; two: gxTransform): BOOLEAN; C;
  166. FUNCTION GXEqualViewDevice(one: gxViewDevice; two: gxViewDevice): BOOLEAN; C;
  167. FUNCTION GXEqualViewPort(one: gxViewPort; two: gxViewPort): BOOLEAN; C;
  168. PROCEDURE GXResetInk(target: gxInk); C;
  169. PROCEDURE GXResetShape(target: gxShape); C;
  170. PROCEDURE GXResetStyle(target: gxStyle); C;
  171. PROCEDURE GXResetTransform(target: gxTransform); C;
  172. PROCEDURE GXLoadColorProfile(target: gxColorProfile); C;
  173. PROCEDURE GXLoadColorSet(target: gxColorSet); C;
  174. PROCEDURE GXLoadInk(target: gxInk); C;
  175. PROCEDURE GXLoadShape(target: gxShape); C;
  176. PROCEDURE GXLoadStyle(target: gxStyle); C;
  177. PROCEDURE GXLoadTag(target: gxTag); C;
  178. PROCEDURE GXLoadTransform(target: gxTransform); C;
  179. PROCEDURE GXUnloadColorProfile(target: gxColorProfile); C;
  180. PROCEDURE GXUnloadColorSet(target: gxColorSet); C;
  181. PROCEDURE GXUnloadInk(target: gxInk); C;
  182. PROCEDURE GXUnloadShape(target: gxShape); C;
  183. PROCEDURE GXUnloadStyle(target: gxStyle); C;
  184. PROCEDURE GXUnloadTag(target: gxTag); C;
  185. PROCEDURE GXUnloadTransform(target: gxTransform); C;
  186. PROCEDURE GXCacheShape(source: gxShape); C;
  187. FUNCTION GXCopyDeepToShape(target: gxShape; source: gxShape): gxShape; C;
  188. PROCEDURE GXDrawShape(source: gxShape); C;
  189. PROCEDURE GXDisposeShapeCache(target: gxShape); C;
  190. FUNCTION GXGetDefaultColorProfile: gxColorProfile; C;
  191. FUNCTION GXGetDefaultShape(aType: gxShapeType): gxShape; C;
  192. FUNCTION GXGetDefaultColorSet(pixelDepth: LONGINT): gxColorSet; C;
  193. PROCEDURE GXSetDefaultShape(target: gxShape); C;
  194. PROCEDURE GXSetDefaultColorSet(target: gxColorSet; pixelDepth: LONGINT); C;
  195. FUNCTION GXGetTag(source: gxTag; VAR tagType: LONGINT; data: UNIV Ptr): LONGINT; C;
  196. PROCEDURE GXSetTag(target: gxTag; tagType: LONGINT; length: LONGINT; data: UNIV Ptr); C;
  197. FUNCTION GXGetShapeBounds(source: gxShape; index: LONGINT; VAR bounds: gxRectangle): gxRectanglePtr; C;
  198. FUNCTION GXGetShapeFill(source: gxShape): gxShapeFill; C;
  199. FUNCTION GXGetShapeInk(source: gxShape): gxInk; C;
  200. FUNCTION GXGetShapePixel(source: gxShape; x: LONGINT; y: LONGINT; VAR data: gxColor; VAR index: LONGINT): LONGINT; C;
  201. FUNCTION GXGetShapeStyle(source: gxShape): gxStyle; C;
  202. FUNCTION GXGetShapeTransform(source: gxShape): gxTransform; C;
  203. FUNCTION GXGetShapeType(source: gxShape): gxShapeType; C;
  204. FUNCTION GXGetShapeTypographicBounds(source: gxShape; VAR bounds: gxRectangle): gxRectanglePtr; C;
  205. FUNCTION GXGetBitmapParts(source: gxShape; {CONST}VAR bounds: gxLongRectangle): gxShape; C;
  206. PROCEDURE GXGetStyleFontMetrics(sourceStyle: gxStyle; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  207. PROCEDURE GXGetShapeFontMetrics(source: gxShape; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  208. PROCEDURE GXSetShapeBounds(target: gxShape; {CONST}VAR newBounds: gxRectangle); C;
  209. PROCEDURE GXSetShapeFill(target: gxShape; newFill: gxShapeFill); C;
  210. PROCEDURE GXSetShapeInk(target: gxShape; newInk: gxInk); C;
  211. PROCEDURE GXSetShapePixel(target: gxShape; x: LONGINT; y: LONGINT; {CONST}VAR newColor: gxColor; newIndex: LONGINT); C;
  212. PROCEDURE GXSetShapeStyle(target: gxShape; newStyle: gxStyle); C;
  213. PROCEDURE GXSetShapeTransform(target: gxShape; newTransform: gxTransform); C;
  214. PROCEDURE GXSetShapeType(target: gxShape; newType: gxShapeType); C;
  215. PROCEDURE GXSetBitmapParts(target: gxShape; {CONST}VAR bounds: gxLongRectangle; bitmapShape: gxShape); C;
  216. PROCEDURE GXSetShapeGeometry(target: gxShape; geometry: gxShape); C;
  217. FUNCTION GXGetShapeCurveError(source: gxShape): Fixed; C;
  218. FUNCTION GXGetShapeDash(source: gxShape; VAR dash: gxDashRecord): gxDashRecordPtr; C;
  219. FUNCTION GXGetShapeCap(source: gxShape; VAR cap: gxCapRecord): gxCapRecordPtr; C;
  220. {  returns the number of layers  }
  221. FUNCTION GXGetShapeFace(source: gxShape; VAR face: gxTextFace): LONGINT; C;
  222. FUNCTION GXGetShapeFont(source: gxShape): gxFont; C;
  223. FUNCTION GXGetShapeJoin(source: gxShape; VAR join: gxJoinRecord): gxJoinRecordPtr; C;
  224. FUNCTION GXGetShapeJustification(source: gxShape): Fract; C;
  225. FUNCTION GXGetShapePattern(source: gxShape; VAR pattern: gxPatternRecord): gxPatternRecordPtr; C;
  226. FUNCTION GXGetShapePen(source: gxShape): Fixed; C;
  227. FUNCTION GXGetShapeEncoding(source: gxShape; VAR script: gxFontScript; VAR language: gxFontLanguage): gxFontPlatform; C;
  228. FUNCTION GXGetShapeTextSize(source: gxShape): Fixed; C;
  229. FUNCTION GXGetShapeFontVariations(source: gxShape; VAR variations: gxFontVariation): LONGINT; C;
  230. FUNCTION GXGetShapeFontVariationSuite(source: gxShape; VAR variations: gxFontVariation): LONGINT; C;
  231. FUNCTION GXGetStyleCurveError(source: gxStyle): Fixed; C;
  232. FUNCTION GXGetStyleDash(source: gxStyle; VAR dash: gxDashRecord): gxDashRecordPtr; C;
  233. FUNCTION GXGetStyleCap(source: gxStyle; VAR cap: gxCapRecord): gxCapRecordPtr; C;
  234. {  returns the number of layers  }
  235. FUNCTION GXGetStyleFace(source: gxStyle; VAR face: gxTextFace): LONGINT; C;
  236. FUNCTION GXGetStyleFont(source: gxStyle): gxFont; C;
  237. FUNCTION GXGetStyleJoin(source: gxStyle; VAR join: gxJoinRecord): gxJoinRecordPtr; C;
  238. FUNCTION GXGetStyleJustification(source: gxStyle): Fract; C;
  239. FUNCTION GXGetStylePattern(source: gxStyle; VAR pattern: gxPatternRecord): gxPatternRecordPtr; C;
  240. FUNCTION GXGetStylePen(source: gxStyle): Fixed; C;
  241. FUNCTION GXGetStyleEncoding(source: gxStyle; VAR script: gxFontScript; VAR language: gxFontLanguage): gxFontPlatform; C;
  242. FUNCTION GXGetStyleTextSize(source: gxStyle): Fixed; C;
  243. FUNCTION GXGetStyleFontVariations(source: gxStyle; VAR variations: gxFontVariation): LONGINT; C;
  244. FUNCTION GXGetStyleFontVariationSuite(source: gxStyle; VAR variations: gxFontVariation): LONGINT; C;
  245. PROCEDURE GXSetShapeCurveError(target: gxShape; error: Fixed); C;
  246. PROCEDURE GXSetShapeDash(target: gxShape; {CONST}VAR dash: gxDashRecord); C;
  247. PROCEDURE GXSetShapeCap(target: gxShape; {CONST}VAR cap: gxCapRecord); C;
  248. PROCEDURE GXSetShapeFace(target: gxShape; {CONST}VAR face: gxTextFace); C;
  249. PROCEDURE GXSetShapeFont(target: gxShape; aFont: gxFont); C;
  250. PROCEDURE GXSetShapeJoin(target: gxShape; {CONST}VAR join: gxJoinRecord); C;
  251. PROCEDURE GXSetShapeJustification(target: gxShape; justify: Fract); C;
  252. PROCEDURE GXSetShapePattern(target: gxShape; {CONST}VAR pattern: gxPatternRecord); C;
  253. PROCEDURE GXSetShapePen(target: gxShape; pen: Fixed); C;
  254. PROCEDURE GXSetShapeEncoding(target: gxShape; platform: gxFontPlatform; script: gxFontScript; language: gxFontLanguage); C;
  255. PROCEDURE GXSetShapeTextSize(target: gxShape; size: Fixed); C;
  256. PROCEDURE GXSetShapeFontVariations(target: gxShape; count: LONGINT; {CONST}VAR variations: gxFontVariation); C;
  257. PROCEDURE GXSetStyleCurveError(target: gxStyle; error: Fixed); C;
  258. PROCEDURE GXSetStyleDash(target: gxStyle; {CONST}VAR dash: gxDashRecord); C;
  259. PROCEDURE GXSetStyleCap(target: gxStyle; {CONST}VAR cap: gxCapRecord); C;
  260. PROCEDURE GXSetStyleFace(target: gxStyle; {CONST}VAR face: gxTextFace); C;
  261. PROCEDURE GXSetStyleFont(target: gxStyle; aFont: gxFont); C;
  262. PROCEDURE GXSetStyleJoin(target: gxStyle; {CONST}VAR join: gxJoinRecord); C;
  263. PROCEDURE GXSetStyleJustification(target: gxStyle; justify: Fract); C;
  264. PROCEDURE GXSetStylePattern(target: gxStyle; {CONST}VAR pattern: gxPatternRecord); C;
  265. PROCEDURE GXSetStylePen(target: gxStyle; pen: Fixed); C;
  266. PROCEDURE GXSetStyleEncoding(target: gxStyle; platform: gxFontPlatform; script: gxFontScript; language: gxFontLanguage); C;
  267. PROCEDURE GXSetStyleTextSize(target: gxStyle; size: Fixed); C;
  268. PROCEDURE GXSetStyleFontVariations(target: gxStyle; count: LONGINT; {CONST}VAR variations: gxFontVariation); C;
  269. FUNCTION GXGetShapeColor(source: gxShape; VAR data: gxColor): gxColorPtr; C;
  270. FUNCTION GXGetShapeTransfer(source: gxShape; VAR data: gxTransferMode): gxTransferModePtr; C;
  271. FUNCTION GXGetInkColor(source: gxInk; VAR data: gxColor): gxColorPtr; C;
  272. FUNCTION GXGetInkTransfer(source: gxInk; VAR data: gxTransferMode): gxTransferModePtr; C;
  273. PROCEDURE GXSetShapeColor(target: gxShape; {CONST}VAR data: gxColor); C;
  274. PROCEDURE GXSetShapeTransfer(target: gxShape; {CONST}VAR data: gxTransferMode); C;
  275. PROCEDURE GXSetInkColor(target: gxInk; {CONST}VAR data: gxColor); C;
  276. PROCEDURE GXSetInkTransfer(target: gxInk; {CONST}VAR data: gxTransferMode); C;
  277. FUNCTION GXGetShapeClip(source: gxShape): gxShape; C;
  278. FUNCTION GXGetShapeClipType(source: gxShape): gxShapeType; C;
  279. FUNCTION GXGetShapeMapping(source: gxShape; VAR map: gxMapping): gxMappingPtr; C;
  280. FUNCTION GXGetShapeHitTest(source: gxShape; VAR tolerance: Fixed): gxShapePart; C;
  281. FUNCTION GXGetShapeViewPorts(source: gxShape; VAR list: gxViewPort): LONGINT; C;
  282. FUNCTION GXGetTransformClip(source: gxTransform): gxShape; C;
  283. FUNCTION GXGetTransformClipType(source: gxTransform): gxShapeType; C;
  284. FUNCTION GXGetTransformMapping(source: gxTransform; VAR map: gxMapping): gxMappingPtr; C;
  285. FUNCTION GXGetTransformHitTest(source: gxTransform; VAR tolerance: Fixed): gxShapePart; C;
  286. FUNCTION GXGetTransformViewPorts(source: gxTransform; VAR list: gxViewPort): LONGINT; C;
  287. PROCEDURE GXSetShapeClip(target: gxShape; clip: gxShape); C;
  288. PROCEDURE GXSetShapeMapping(target: gxShape; {CONST}VAR map: gxMapping); C;
  289. PROCEDURE GXSetShapeHitTest(target: gxShape; mask: gxShapePart; tolerance: Fixed); C;
  290. PROCEDURE GXSetShapeViewPorts(target: gxShape; count: LONGINT; {CONST}VAR list: gxViewPort); C;
  291. PROCEDURE GXSetTransformClip(target: gxTransform; clip: gxShape); C;
  292. PROCEDURE GXSetTransformMapping(target: gxTransform; {CONST}VAR map: gxMapping); C;
  293. PROCEDURE GXSetTransformHitTest(target: gxTransform; mask: gxShapePart; tolerance: Fixed); C;
  294. PROCEDURE GXSetTransformViewPorts(target: gxTransform; count: LONGINT; {CONST}VAR list: gxViewPort); C;
  295. FUNCTION GXGetColorSet(source: gxColorSet; VAR space: gxColorSpace; VAR colors: gxSetColor): LONGINT; C;
  296. FUNCTION GXGetColorProfile(source: gxColorProfile; colorProfileData: UNIV Ptr): LONGINT; C;
  297. PROCEDURE GXSetColorSet(target: gxColorSet; space: gxColorSpace; count: LONGINT; {CONST}VAR colors: gxSetColor); C;
  298. PROCEDURE GXSetColorProfile(target: gxColorProfile; size: LONGINT; colorProfileData: UNIV Ptr); C;
  299. FUNCTION GXGetViewDeviceBitmap(source: gxViewDevice): gxShape; C;
  300. FUNCTION GXGetViewDeviceClip(source: gxViewDevice): gxShape; C;
  301. FUNCTION GXGetViewDeviceMapping(source: gxViewDevice; VAR map: gxMapping): gxMappingPtr; C;
  302. FUNCTION GXGetViewDeviceViewGroup(source: gxViewDevice): gxViewGroup; C;
  303. PROCEDURE GXSetViewDeviceBitmap(target: gxViewDevice; bitmapShape: gxShape); C;
  304. PROCEDURE GXSetViewDeviceClip(target: gxViewDevice; clip: gxShape); C;
  305. PROCEDURE GXSetViewDeviceMapping(target: gxViewDevice; {CONST}VAR map: gxMapping); C;
  306. PROCEDURE GXSetViewDeviceViewGroup(target: gxViewDevice; group: gxViewGroup); C;
  307. FUNCTION GXGetViewPortChildren(source: gxViewPort; VAR list: gxViewPort): LONGINT; C;
  308. FUNCTION GXGetViewPortClip(source: gxViewPort): gxShape; C;
  309. FUNCTION GXGetViewPortDither(source: gxViewPort): LONGINT; C;
  310. FUNCTION GXGetViewPortHalftone(source: gxViewPort; VAR data: gxHalftone): BOOLEAN; C;
  311. FUNCTION GXGetViewPortMapping(source: gxViewPort; VAR map: gxMapping): gxMappingPtr; C;
  312. FUNCTION GXGetViewPortParent(source: gxViewPort): gxViewPort; C;
  313. FUNCTION GXGetViewPortViewGroup(source: gxViewPort): gxViewGroup; C;
  314. FUNCTION GXGetViewPortHalftoneMatrix(source: gxViewPort; sourceDevice: gxViewDevice; VAR theMatrix: gxHalftoneMatrix): LONGINT; C;
  315. PROCEDURE GXSetViewPortChildren(target: gxViewPort; count: LONGINT; {CONST}VAR list: gxViewPort); C;
  316. PROCEDURE GXSetViewPortClip(target: gxViewPort; clip: gxShape); C;
  317. PROCEDURE GXSetViewPortDither(target: gxViewPort; level: LONGINT); C;
  318. PROCEDURE GXSetViewPortHalftone(target: gxViewPort; {CONST}VAR data: gxHalftone); C;
  319. PROCEDURE GXSetViewPortMapping(target: gxViewPort; {CONST}VAR map: gxMapping); C;
  320. PROCEDURE GXSetViewPortParent(target: gxViewPort; parent: gxViewPort); C;
  321. PROCEDURE GXSetViewPortViewGroup(target: gxViewPort; group: gxViewGroup); C;
  322. FUNCTION GXGetColorProfileTags(source: gxColorProfile; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  323. FUNCTION GXGetColorSetTags(source: gxColorSet; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  324. FUNCTION GXGetInkTags(source: gxInk; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  325. FUNCTION GXGetShapeTags(source: gxShape; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  326. FUNCTION GXGetStyleTags(source: gxStyle; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  327. FUNCTION GXGetTransformTags(source: gxTransform; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  328. FUNCTION GXGetViewDeviceTags(source: gxViewDevice; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  329. FUNCTION GXGetViewPortTags(source: gxViewPort; tagType: LONGINT; index: LONGINT; count: LONGINT; VAR items: gxTag): LONGINT; C;
  330. PROCEDURE GXSetColorProfileTags(target: gxColorProfile; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  331. PROCEDURE GXSetColorSetTags(target: gxColorSet; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  332. PROCEDURE GXSetInkTags(target: gxInk; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  333. PROCEDURE GXSetShapeTags(target: gxShape; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  334. PROCEDURE GXSetStyleTags(target: gxStyle; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  335. PROCEDURE GXSetTransformTags(target: gxTransform; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  336. PROCEDURE GXSetViewDeviceTags(target: gxViewDevice; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  337. PROCEDURE GXSetViewPortTags(target: gxViewPort; tagType: LONGINT; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR items: gxTag); C;
  338. FUNCTION GXGetInkAttributes(source: gxInk): gxInkAttribute; C;
  339. FUNCTION GXGetShapeAttributes(source: gxShape): gxShapeAttribute; C;
  340. FUNCTION GXGetShapeInkAttributes(source: gxShape): gxInkAttribute; C;
  341. FUNCTION GXGetShapeStyleAttributes(source: gxShape): gxStyleAttribute; C;
  342. FUNCTION GXGetStyleAttributes(source: gxStyle): gxStyleAttribute; C;
  343. FUNCTION GXGetShapeTextAttributes(source: gxShape): gxTextAttribute; C;
  344. FUNCTION GXGetStyleTextAttributes(source: gxStyle): gxTextAttribute; C;
  345. FUNCTION GXGetViewDeviceAttributes(source: gxViewDevice): gxDeviceAttribute; C;
  346. FUNCTION GXGetViewPortAttributes(source: gxViewPort): gxPortAttribute; C;
  347. PROCEDURE GXSetInkAttributes(target: gxInk; attributes: gxInkAttribute); C;
  348. PROCEDURE GXSetShapeAttributes(target: gxShape; attributes: gxShapeAttribute); C;
  349. PROCEDURE GXSetShapeInkAttributes(target: gxShape; attributes: gxInkAttribute); C;
  350. PROCEDURE GXSetShapeStyleAttributes(target: gxShape; attributes: gxStyleAttribute); C;
  351. PROCEDURE GXSetStyleAttributes(target: gxStyle; attributes: gxStyleAttribute); C;
  352. PROCEDURE GXSetShapeTextAttributes(target: gxShape; attributes: gxTextAttribute); C;
  353. PROCEDURE GXSetStyleTextAttributes(target: gxStyle; attributes: gxTextAttribute); C;
  354. PROCEDURE GXSetViewDeviceAttributes(target: gxViewDevice; attributes: gxDeviceAttribute); C;
  355. PROCEDURE GXSetViewPortAttributes(target: gxViewPort; attributes: gxPortAttribute); C;
  356. FUNCTION GXGetColorProfileOwners(source: gxColorProfile): LONGINT; C;
  357. FUNCTION GXGetColorSetOwners(source: gxColorSet): LONGINT; C;
  358. FUNCTION GXGetInkOwners(source: gxInk): LONGINT; C;
  359. FUNCTION GXGetShapeOwners(source: gxShape): LONGINT; C;
  360. FUNCTION GXGetStyleOwners(source: gxStyle): LONGINT; C;
  361. FUNCTION GXGetTagOwners(source: gxTag): LONGINT; C;
  362. FUNCTION GXGetTransformOwners(source: gxTransform): LONGINT; C;
  363. PROCEDURE GXLockShape(target: gxShape); C;
  364. PROCEDURE GXLockTag(target: gxTag); C;
  365. PROCEDURE GXUnlockShape(target: gxShape); C;
  366. PROCEDURE GXUnlockTag(target: gxTag); C;
  367. FUNCTION GXGetShapeStructure(source: gxShape; VAR length: LONGINT): Ptr; C;
  368. FUNCTION GXGetTagStructure(source: gxTag; VAR length: LONGINT): Ptr; C;
  369. FUNCTION GXGetColorDistance({CONST}VAR target: gxColor; {CONST}VAR source: gxColor): Fixed; C;
  370. FUNCTION GXShapeLengthToPoint(target: gxShape; index: LONGINT; length: Fixed; VAR location: gxPoint; VAR tangent: gxPoint): gxPointPtr; C;
  371. FUNCTION GXGetShapeArea(source: gxShape; index: LONGINT; VAR area: wide): widePtr; C;
  372. FUNCTION GXGetShapeCacheSize(source: gxShape): LONGINT; C;
  373. FUNCTION GXGetShapeCenter(source: gxShape; index: LONGINT; VAR center: gxPoint): gxPointPtr; C;
  374. FUNCTION GXGetShapeDirection(source: gxShape; contour: LONGINT): gxContourDirection; C;
  375. FUNCTION GXGetShapeIndex(source: gxShape; contour: LONGINT; vector: LONGINT): LONGINT; C;
  376. FUNCTION GXGetShapeLength(source: gxShape; index: LONGINT; VAR length: wide): widePtr; C;
  377. FUNCTION GXGetShapeSize(source: gxShape): LONGINT; C;
  378. FUNCTION GXCountShapeContours(source: gxShape): LONGINT; C;
  379. FUNCTION GXCountShapePoints(source: gxShape; contour: LONGINT): LONGINT; C;
  380. {  returns the number of positions  }
  381. FUNCTION GXGetShapeDashPositions(source: gxShape; VAR dashMappings: gxMapping): LONGINT; C;
  382. FUNCTION GXGetShapeDeviceArea(source: gxShape; port: gxViewPort; device: gxViewDevice): LONGINT; C;
  383. FUNCTION GXGetShapeDeviceBounds(source: gxShape; port: gxViewPort; device: gxViewDevice; VAR bounds: gxRectangle): BOOLEAN; C;
  384. FUNCTION GXGetShapeDeviceColors(source: gxShape; port: gxViewPort; device: gxViewDevice; VAR width: LONGINT): gxColorSet; C;
  385. FUNCTION GXGetShapeGlobalBounds(source: gxShape; port: gxViewPort; group: gxViewGroup; VAR bounds: gxRectangle): BOOLEAN; C;
  386. FUNCTION GXGetShapeGlobalViewDevices(source: gxShape; port: gxViewPort; VAR list: gxViewDevice): LONGINT; C;
  387. FUNCTION GXGetShapeGlobalViewPorts(source: gxShape; VAR list: gxViewPort): LONGINT; C;
  388. FUNCTION GXGetShapeLocalBounds(source: gxShape; VAR bounds: gxRectangle): gxRectanglePtr; C;
  389. {  returns the number of positions  }
  390. FUNCTION GXGetShapePatternPositions(source: gxShape; VAR positions: gxPoint): LONGINT; C;
  391. PROCEDURE GXGetShapeLocalFontMetrics(sourceShape: gxShape; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  392. PROCEDURE GXGetShapeDeviceFontMetrics(sourceShape: gxShape; port: gxViewPort; device: gxViewDevice; VAR before: gxPoint; VAR after: gxPoint; VAR caretAngle: gxPoint; VAR caretOffset: gxPoint); C;
  393. FUNCTION GXGetViewGroupViewDevices(source: gxViewGroup; VAR list: gxViewDevice): LONGINT; C;
  394. FUNCTION GXGetViewGroupViewPorts(source: gxViewGroup; VAR list: gxViewPort): LONGINT; C;
  395. FUNCTION GXGetViewPortGlobalMapping(source: gxViewPort; VAR map: gxMapping): gxMappingPtr; C;
  396. FUNCTION GXGetViewPortViewDevices(source: gxViewPort; VAR list: gxViewDevice): LONGINT; C;
  397. FUNCTION GXHitTestPicture(target: gxShape; {CONST}VAR test: gxPoint; VAR result: gxHitTestInfo; level: LONGINT; depth: LONGINT): gxShape; C;
  398. FUNCTION GXIntersectRectangle(VAR target: gxRectangle; {CONST}VAR source: gxRectangle; {CONST}VAR operand: gxRectangle): BOOLEAN; C;
  399. FUNCTION GXUnionRectangle(VAR target: gxRectangle; {CONST}VAR source: gxRectangle; {CONST}VAR operand: gxRectangle): gxRectanglePtr; C;
  400. FUNCTION GXTouchesRectanglePoint({CONST}VAR target: gxRectangle; {CONST}VAR test: gxPoint): BOOLEAN; C;
  401. FUNCTION GXTouchesShape(target: gxShape; test: gxShape): BOOLEAN; C;
  402. FUNCTION GXTouchesBoundsShape({CONST}VAR target: gxRectangle; test: gxShape): BOOLEAN; C;
  403. FUNCTION GXContainsRectangle({CONST}VAR container: gxRectangle; {CONST}VAR test: gxRectangle): BOOLEAN; C;
  404. FUNCTION GXContainsShape(container: gxShape; test: gxShape): BOOLEAN; C;
  405. FUNCTION GXContainsBoundsShape({CONST}VAR container: gxRectangle; test: gxShape; index: LONGINT): BOOLEAN; C;
  406. FUNCTION GXConvertColor(VAR target: gxColor; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): gxColorPtr; C;
  407. FUNCTION GXCombineColor(VAR target: gxColor; operand: gxInk): gxColorPtr; C;
  408. FUNCTION GXCheckColor({CONST}VAR source: gxColor; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): BOOLEAN; C;
  409. FUNCTION GXCheckBitmapColor(source: gxShape; {CONST}VAR area: gxLongRectangle; space: gxColorSpace; aSet: gxColorSet; profile: gxColorProfile): gxShape; C;
  410. FUNCTION GXGetHalftoneDeviceAngle(source: gxViewDevice; {CONST}VAR data: gxHalftone): Fixed; C;
  411. FUNCTION GXGetColorSetParts(source: gxColorSet; index: LONGINT; count: LONGINT; VAR space: gxColorSpace; VAR data: gxSetColor): LONGINT; C;
  412. {  returns the glyph count  }
  413. FUNCTION GXGetGlyphParts(source: gxShape; index: LONGINT; charCount: LONGINT; VAR byteLength: LONGINT; VAR text: UInt8; VAR positions: gxPoint; VAR advanceBits: LONGINT; VAR tangents: gxPoint; VAR runCount: LONGINT; VAR styleRuns: INTEGER; VAR styles: gxStyle): LONGINT; C;
  414. FUNCTION GXGetPathParts(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPaths): LONGINT; C;
  415. FUNCTION GXGetPictureParts(source: gxShape; index: LONGINT; count: LONGINT; VAR shapes: gxShape; VAR styles: gxStyle; VAR inks: gxInk; VAR transforms: gxTransform): LONGINT; C;
  416. FUNCTION GXGetPolygonParts(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPolygons): LONGINT; C;
  417. FUNCTION GXGetShapeParts(source: gxShape; index: LONGINT; count: LONGINT; destination: gxShape): gxShape; C;
  418. FUNCTION GXGetTextParts(source: gxShape; index: LONGINT; charCount: LONGINT; VAR text: UInt8): LONGINT; C;
  419. PROCEDURE GXSetColorSetParts(target: gxColorSet; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR data: gxSetColor); C;
  420. PROCEDURE GXSetGlyphParts(source: gxShape; index: LONGINT; oldCharCount: LONGINT; newCharCount: LONGINT; {CONST}VAR text: UInt8; {CONST}VAR positions: gxPoint; {CONST}VAR advanceBits: LONGINT; {CONST}VAR tangents: gxPoint; {CONST}VAR styleRuns: INTEGER; {CONST}VAR styles: gxStyle); C;
  421. PROCEDURE GXSetPathParts(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPaths; flags: gxEditShapeFlag); C;
  422. PROCEDURE GXSetPictureParts(target: gxShape; index: LONGINT; oldCount: LONGINT; newCount: LONGINT; {CONST}VAR shapes: gxShape; {CONST}VAR styles: gxStyle; {CONST}VAR inks: gxInk; {CONST}VAR transforms: gxTransform); C;
  423. PROCEDURE GXSetPolygonParts(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPolygons; flags: gxEditShapeFlag); C;
  424. PROCEDURE GXSetShapeParts(target: gxShape; index: LONGINT; count: LONGINT; insert: gxShape; flags: gxEditShapeFlag); C;
  425. PROCEDURE GXSetTextParts(target: gxShape; index: LONGINT; oldCharCount: LONGINT; newCharCount: LONGINT; {CONST}VAR text: UInt8); C;
  426. FUNCTION GXGetShapePoints(source: gxShape; index: LONGINT; count: LONGINT; VAR data: gxPoint): LONGINT; C;
  427. PROCEDURE GXSetShapePoints(target: gxShape; index: LONGINT; count: LONGINT; {CONST}VAR data: gxPoint); C;
  428. FUNCTION GXGetGlyphPositions(source: gxShape; index: LONGINT; charCount: LONGINT; VAR advance: LONGINT; VAR positions: gxPoint): LONGINT; C;
  429. FUNCTION GXGetGlyphTangents(source: gxShape; index: LONGINT; charCount: LONGINT; VAR tangents: gxPoint): LONGINT; C;
  430. PROCEDURE GXSetGlyphPositions(target: gxShape; index: LONGINT; charCount: LONGINT; {CONST}VAR advance: LONGINT; {CONST}VAR positions: gxPoint); C;
  431. PROCEDURE GXSetGlyphTangents(target: gxShape; index: LONGINT; charCount: LONGINT; {CONST}VAR tangents: gxPoint); C;
  432. FUNCTION GXGetGlyphMetrics(source: gxShape; VAR glyphOrigins: gxPoint; VAR boundingBoxes: gxRectangle; VAR sideBearings: gxPoint): LONGINT; C;
  433. PROCEDURE GXDifferenceShape(target: gxShape; operand: gxShape); C;
  434. PROCEDURE GXExcludeShape(target: gxShape; operand: gxShape); C;
  435. PROCEDURE GXIntersectShape(target: gxShape; operand: gxShape); C;
  436. PROCEDURE GXMapShape(target: gxShape; {CONST}VAR map: gxMapping); C;
  437. PROCEDURE GXMoveShape(target: gxShape; deltaX: Fixed; deltaY: Fixed); C;
  438. PROCEDURE GXMoveShapeTo(target: gxShape; x: Fixed; y: Fixed); C;
  439. PROCEDURE GXReverseDifferenceShape(target: gxShape; operand: gxShape); C;
  440. PROCEDURE GXRotateShape(target: gxShape; degrees: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  441. PROCEDURE GXScaleShape(target: gxShape; hScale: Fixed; vScale: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  442. PROCEDURE GXSkewShape(target: gxShape; xSkew: Fixed; ySkew: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  443. PROCEDURE GXUnionShape(target: gxShape; operand: gxShape); C;
  444. PROCEDURE GXDifferenceTransform(target: gxTransform; operand: gxShape); C;
  445. PROCEDURE GXExcludeTransform(target: gxTransform; operand: gxShape); C;
  446. PROCEDURE GXIntersectTransform(target: gxTransform; operand: gxShape); C;
  447. PROCEDURE GXMapTransform(target: gxTransform; {CONST}VAR map: gxMapping); C;
  448. PROCEDURE GXMoveTransform(target: gxTransform; deltaX: Fixed; deltaY: Fixed); C;
  449. PROCEDURE GXMoveTransformTo(target: gxTransform; x: Fixed; y: Fixed); C;
  450. PROCEDURE GXReverseDifferenceTransform(target: gxTransform; operand: gxShape); C;
  451. PROCEDURE GXRotateTransform(target: gxTransform; degrees: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  452. PROCEDURE GXScaleTransform(target: gxTransform; hScale: Fixed; vScale: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  453. PROCEDURE GXSkewTransform(target: gxTransform; xSkew: Fixed; ySkew: Fixed; xOffset: Fixed; yOffset: Fixed); C;
  454. PROCEDURE GXUnionTransform(target: gxTransform; operand: gxShape); C;
  455. PROCEDURE GXBreakShape(target: gxShape; index: LONGINT); C;
  456. PROCEDURE GXChangedShape(target: gxShape); C;
  457. FUNCTION GXHitTestShape(target: gxShape; {CONST}VAR test: gxPoint; VAR result: gxHitTestInfo): gxShapePart; C;
  458. FUNCTION GXHitTestDevice(target: gxShape; port: gxViewPort; device: gxViewDevice; {CONST}VAR test: gxPoint; {CONST}VAR tolerance: gxPoint): gxShape; C;
  459. PROCEDURE GXInsetShape(target: gxShape; inset: Fixed); C;
  460. PROCEDURE GXInvertShape(target: gxShape); C;
  461. PROCEDURE GXPrimitiveShape(target: gxShape); C;
  462. PROCEDURE GXReduceShape(target: gxShape; contour: LONGINT); C;
  463. PROCEDURE GXReverseShape(target: gxShape; contour: LONGINT); C;
  464. PROCEDURE GXSimplifyShape(target: gxShape); C;
  465. PROCEDURE GXLockColorProfile(source: gxColorProfile); C;
  466. PROCEDURE GXUnlockColorProfile(source: gxColorProfile); C;
  467. FUNCTION GXGetColorProfileStructure(source: gxColorProfile; VAR length: LONGINT): Ptr; C;
  468. PROCEDURE GXFlattenShape(source: gxShape; flags: gxFlattenFlag; VAR block: gxSpoolBlock); C;
  469. FUNCTION GXUnflattenShape(VAR block: gxSpoolBlock; count: LONGINT; {CONST}VAR portList: gxViewPort): gxShape; C;
  470. PROCEDURE GXPostGraphicsNotice(notice: gxGraphicsNotice); C;
  471. PROCEDURE GXIgnoreGraphicsNotice(notice: gxGraphicsNotice); C;
  472. PROCEDURE GXPopGraphicsNotice; C;
  473.  
  474. {$ALIGN RESET}
  475. {$POP}
  476.  
  477. {$SETC UsingIncludes := GXGraphicsIncludes}
  478.  
  479. {$ENDC} {__GXGRAPHICS__}
  480.  
  481. {$IFC NOT UsingIncludes}
  482.  END.
  483. {$ENDC}
  484.